
package net.swa.dewei.service;
import java.util.Map;

import net.swa.dewei.beans.entity.OneCard;
import net.swa.util.JsonResult;

/**
 * OneCardService 接口
 * @author junyu
 *
 */
public interface OneCardService
{

    OneCard queryById(Long id);

    //根据条件查询分页
    JsonResult<OneCard> queryPage(String[] attrNames , String[] attrOperator , Object[] attrValues , int currentPage , int pageSize , String orderBy , String orderType);

    Map<String, Object> add(OneCard model);

    Map<String, Object> update(OneCard model);

    void delete(Long[] ids);

}